home *** CD-ROM | disk | FTP | other *** search
- Path: cs.city.ac.uk!not-for-mail
- From: sheun@cs.city.ac.uk (Sheun Olatunbosun)
- Newsgroups: comp.sys.amiga.programmer
- Subject: DICE cache problems
- Date: 18 Mar 1996 17:55:31 -0000
- Organization: School of Informatics, City University
- Message-ID: <4ik82j$5g0@barney.soi.city.ac.uk>
- NNTP-Posting-Host: barney.soi.city.ac.uk
-
-
- Hello Gurus,
-
- I'm having a real hard time trying to resolve the following problem so I
- throw it you experts out there. I want to compile the following program
- using a LARGE data model.
-
- ---------------------
- #include <stdio.h>
-
- main()
- {
- FILE *stream;
-
- stream = fopen("fred", "r");
- exit(0);
- }
- ---------------------
-
- If I use "dcc -o file file.c", that is compile with the small data model, then
- everything is okay. However, if I issue the command "dcc -o file file.c -mD",
- that is using the large data model, I get the error.
-
- Undefined Symbol -DiceCacheOpen
- Undefined Symbol -DiceCacheSeek
- Undefined Symbol -DiceCacheClose
-
- I understand that the Dice cache routines appear in the "c" link library, so
- I've tried compiling a new "cl.lib" library for large data model linking.
- All goes well up until the end when I get the complaint
-
- cannot find [dinclude:fd/]dicecache_lib.fd
-
- which of course does not exist. I've searched quite thoroughly my DICE
- distribution disks (registered version 2.07.54) and I cannot find this file.
- Therefore can somebody help me by sending me the file (dicecache_lib.fd), or
- telling me how I can generate it, or as a alternative mentioning how I can
- compile the above program without using the cache.
-
-
- Your help will be much appreciated
-
- Sheun
-